function [ERcorr_Mean] = ERcorr_Mean_Prism(Data_Summary, animalName, drug)

for n = 1:size(Data_Summary, 2)
    if strcmp(Data_Summary(n).animalName, animalName) && strcmp(Data_Summary(n).drug, drug)
        ERcorr(n,1) = Data_Summary(n).Event_Rate_Correlation;
    else
        ERcorr(n,1) = nan;
    end
end
ERcorr_Mean = mean(ERcorr, 'omitnan');

end